home *** CD-ROM | disk | FTP | other *** search
/ Chip 2005 June / ccd0605.iso / Offline / Migrate / Port Windows IPC apps to Linux, Part 1 Processes and threads_files / popup.js < prev    next >
Encoding:
JavaScript  |  2005-04-25  |  934 b   |  24 lines

  1. // $Id: popup.js,v 1.32 2005/04/07 20:35:14 scale Exp $
  2. // Contact: Scott Cale/New York
  3. //          ibm.com Corporate Webmaster team
  4.  
  5. // We need to load the common/cookie code before the code that uses it.
  6. // Therefore, I had to shift the original popup.js into v11trigger.js
  7.  
  8. var ibmSurveyServer = '//www.ibm.com';
  9.  
  10. if( (typeof staging != 'undefined') && (staging == 'yes') ){
  11.     ibmSurveyServer = '//wwwstage.ibm.com';
  12. }
  13.  
  14. if( typeof ibmCommonDesignVersion == 'undefined' ){
  15.     document.write('<script type="text/javascript" language="JavaScript1.2" src="' + ibmSurveyServer + '/common/design.js"></script>');
  16. }
  17.  
  18. if (typeof ibmCommonCookie == 'undefined') {
  19. document.write('<script type="text/javascript" language="JavaScript1.2" src="' + ibmSurveyServer + '/common/cookie/cookie.js"></script>');
  20. }
  21.  
  22. document.write('<script type="text/javascript" language="JavaScript1.2" src="' + ibmSurveyServer + '/survey/v11trigger.js"></script>');
  23.  
  24.